<script>on mouseUpAnswer file "Input from what file?" of type "TEXT"put it into cd fld "InFile"end mouseUp</script>
</part>
<part>
<id>2</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>90</left>
<top>104</top>
<right>488</right>
<bottom>126</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>InFile</name>
<script></script>
</part>
<part>
<id>3</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>90</left>
<top>133</top>
<right>488</right>
<bottom>155</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>OutFile</name>
<script></script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>8</left>
<top>132</top>
<right>89</right>
<bottom>155</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Output To:</name>
<script>--Modified on Wednesday, December 19, 1990-11:31:07 AMon mouseUp--Modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:31:07 AMget ExtractfName(cd fld "inFile")Put ".Comma" after itAsk File "Save as…" with itput it into cd fld "OutFile"end mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>345</left>
<top>274</top>
<right>417</right>
<bottom>295</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Do It!</name>
<script>--Modified on Monday, March 18, 1991-8:53:39 AMon mouseUp--Modified by Peter Jörgensen on Monday, March 18, 1991 at 8:53:39 AM--Modified by Peter Jörgensen on Monday, March 18, 1991 at 8:52:50 AMset the name of me to "Stop It!"Answer "Inspect or Translate?" with "Inspect" or "Translate"do itset the name of me to "Do It!"end mouseUp</script>
<script>--Modified on Monday, March 18, 1991-10:10:47 AMfunction theFiles--Modified by Peter Jörgensen on Monday, March 18, 1991 at 9:15:41 AMif cd fld "InFile" is empty then send mouseUp to btn "Input from:"put cd fld "InFile" into Infileif cd fld "OutFile" is empty then send mouseUp to btn "Output to:"put cd fld "OutFile" into OutFilereturn InFile&","&outFileend theFilesfunction NextField aLine--Modified by Peter Jörgensen on Monday, March 18, 1991 at 10:10:45 AM--Modified by Peter Jörgensen on Monday, March 18, 1991 at 9:15:41 AMif aLine is empty then return emptyput offset(tab,aLine) into endoffieldget char 1 to endOfField of aLinedelete char 1 to endOfField of aLinedelete last char of itreturn it&","&aLineend NextFieldfunction NextLine InFile--Modified by Peter Jörgensen on Monday, March 18, 1991 at 10:10:45 AMread from file InFile until returnif it is empty then read from file InFile until returnreturn itend NextLineon translate--Modified by Peter Jörgensen on Monday, March 18, 1991 at 10:10:46 AM--Modified by Peter Jörgensen on Monday, March 18, 1991 at 9:15:42 AM--Modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:38:24 AMGet theFiles()put item 1 of it into InFileput item 2 of it into OutFileopen file Infileopen file OutFileput NextLine(InFile) into aLineget nextField(aLine)repeat until it is emptyput aLine into cd fld "OutLine"if the mouseclick then exit repeatrepeat until item 1 of it is emptywrite item 1 of it & "," to file outFileget nextField(item 2 of it)end repeatwrite item 2 of it & return to file outFileput NextLine(InFIle) into aLineget nextField(aLine)end repeatClose file InFileClose file OutFileend translateon inspect inFile--Modified by Peter Jörgensen on Monday, March 18, 1991 at 10:10:47 AM--Modified by Peter Jörgensen on Monday, March 18, 1991 at 9:15:42 AMGet theFiles()put item 1 of it into InFileput item 2 of it into OutFileopen file inFileopen file OutFileput empty into cd fld "outLine"put NextLine(InFile) into aLineget nextField(aLine)put zero into cd fld "number of columns"repeat until it is emptyadd 1 to cd fld "number of columns"put it & "," after cd fld "outLine"Answer "Get another field?" with "No" or "Yes"if it is "No" then exit repeatget NextField(InFile)end repeatClose file InFileClose file OutFileend inspect</script>
</card>
card_7722.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUpAnswer file "Input from what file?" of type "TEXT"put it into cd fld "InFile"end mouseUp</script>
</part>
<part>
<id>2</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>90</left>
<top>104</top>
<right>488</right>
<bottom>126</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>InFile</name>
<script></script>
</part>
<part>
<id>3</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>90</left>
<top>133</top>
<right>488</right>
<bottom>155</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>OutFile</name>
<script></script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>8</left>
<top>132</top>
<right>89</right>
<bottom>155</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Output To:</name>
<script>--Modified on Wednesday, December 19, 1990-11:31:07 AMon mouseUp--Modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:31:07 AMget ExtractfName(cd fld "inFile")Put ".HQX" after itAsk File "Save as…" with itput it into cd fld "OutFile"if it is not empty then send mouseUp to btn "Do It!"end mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>207</left>
<top>237</top>
<right>279</right>
<bottom>258</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Do It!</name>
<script>on mouseUpset the name of me to "Stop It!"dePunch cd fld "InFile", cd fld "OutFile"set the name of me to "Do It!"end mouseUp</script>
<script>--Modified on Friday, May 17, 1991-3:34:12 PMon DePunch inFile,OutFile--Modified by Peter Jörgensen on Friday, May 17, 1991 at 3:34:11 PM--Modified by Peter Jörgensen on Friday, May 17, 1991 at 2:47:26 PM--Modified by Peter Jörgensen on Friday, May 17, 1991 at 11:53:36 AM--Modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:38:24 AMopen file inFileopen file OutFilerepeatread from file InFile until returnset the cursor to busyif it is empty then exit repeatif char 1 of it is not in "123456789" then next repeatput it into aLine -- c/l/textif last char of aLine is return then delete last char of aLineDelete char 1 to offset("/",aLine) of aLine -- l/textput aLine into NumLinesput char 1 to offset("/",NumLines)-1 of NumLines into NumLinesDelete char 1 to offset("/",aLine) of aLinerepeat with i = 1 to NumLines-1set the cursor to busyread from file InFile until returnif last char of it is return thendelete last char of itend ifput it after aLineend repeatwrite aLine & return to file outFileif the commandkey is down and the mouseclick thenwrite return & "Terminated by User!!!" to file outFileexit repeatend ifend repeatClose file InFileClose file OutFileif the hilite of btn "Delete source file" thenAnswer "Really delete file " & quote & InFile & quote &"?" with "No" or "Yes"if it is "Yes" then get deleteaFile(InFile)end ifend DePunch</script>
</card>
card_3262.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUpset blindTyping to the hilite of button "Blind Typing"end mouseUp</script>
</part>
<part>
<id>14</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>222</left>
<top>145</top>
<right>325</right>
<bottom>166</bottom>
</rect>
<style>checkbox</style>
<showName> <true /> </showName>
<highlight> <true /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Text Arrows</name>
<script>on mouseUpset textArrows to the hilite of button "Text Arrows"end mouseUp</script>
</part>
<part>
<id>15</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>324</left>
<top>246</top>
<right>349</right>
<bottom>264</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>right</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>Compaction Limit</name>
<script>on closefieldglobal complimitput me into complimitend closefield</script>
</part>
<part>
<id>16</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>95</left>
<top>250</top>
<right>326</right>
<bottom>265</bottom>
</rect>
<style>checkbox</style>
<showName> <false /> </showName>
<highlight> <true /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>AutoComp</name>
<script>on mouseUpglobal autocompput the hilite of me into autocompsend "closefield" to cd fld "compaction limit"end mouseUp</script>
</part>
<part>
<id>17</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>223</left>
<top>210</top>
<right>326</right>
<bottom>228</bottom>
</rect>
<style>checkbox</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>No AutoDoc</name>
<script>on mouseUpglobal overrideput the hilite of me into overrideend mouseUp</script>
</part>
<part>
<id>19</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>371</left>
<top>53</top>
<right>393</right>
<bottom>75</bottom>
</rect>
<style>transparent</style>
<showName> <false /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>26635</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>about</name>
<script>on mouseUpset the visible of cd fld "about" to not the visible of cd fld "about"end mouseUp</script>
</part>
<part>
<id>20</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>71</left>
<top>82</top>
<right>448</right>
<bottom>295</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>about</name>
<script>on mouseUphide meend mouseUp</script>
</part>
<part>
<id>22</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>394</left>
<top>306</top>
<right>488</right>
<bottom>322</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>13</textHeight>
<name></name>
<script></script>
</part>
<content>
<layer>background</layer>
<id>6</id>
<text>New User Preferences</text>
</content>
<content>
<layer>card</layer>
<id>9</id>
<text>5</text>
</content>
<content>
<layer>card</layer>
<id>7</id>
<text>Peter Jörgensen</text>
</content>
<content>
<layer>card</layer>
<id>15</id>
<text>10</text>
</content>
<content>
<layer>card</layer>
<id>20</id>
<text>This User Preferences card has some additional settings that you might find useful.1) Global override of AutoDoc function.2) Automatic compaction selection.3) Freesize setting for selecting auto compation.</text>
</content>
<content>
<layer>card</layer>
<id>22</id>
<text>ver 1.0</text>
</content>
<name>User Preferences</name>
<script>on openCardsetUserLevel the userLevelglobal complimit,override,autocompif autocomp is empty then put true into autocompset the hilite of btn "autocomp" to autocompif override is empty then put false into overrideset the hilite of btn "No AutoDoc" to overrideif complimit is empty then put 10 into complimitput complimit into cd fld "Compaction Limit"if card field "User Name" is emptythen click at the loc of card field "User Name"pass openCardend openCardon setUserLevel whatLevelset userLevel to whatLevelif the userLevel is whatLevel thenput the userLevel into card field "User Level"set hilite of button "Browsing" to the userLevel = 1set hilite of button "Typing" to the userLevel = 2set hilite of button "Painting" to the userLevel = 3set hilite of button "Authoring" to the userLevel = 4set hilite of button "Scripting" to the userLevel = 5set visible of button "Text Arrows" to the userLevel >= 2set hilite of button "Text Arrows" to the textArrowsset visible of button "Power Keys" to the userLevel >= 3set visible of button "Blind Typing" to the userLevel = 5set hilite of button "Power Keys" to the powerKeysset hilite of button "Blind Typing" to the blindTypingset the visible of button "No AutoDoc" to the userLevel = 5elseset hilite of the target to falseend ifend setUserLevel</script>
</card>
card_6108.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUpif the width of me is 15 thenset the width of me to 150set the height of me to 150set the style of me to shadowelseif the optionkey is down thenset the locktext of me to falseexit mouseUpend ifput the width of me into myWidthput the height of me into myHeightput the script of me into myScriptput myWidth into word 7 of line 3 of MyScriptput myHeight into word 7 of line 4 of MyScriptset the width of me to 15set the height of me to 15set the style of me to transparentset the script of me to MyScriptend ifend mouseUpon CloseFieldset the locktext of me to trueset the width of me to 15set the height of me to 15set the style of me to transparentend CloseFieldon mouseDownif the commandkey is down thenrepeat until the mouse is upset the loc of me to the mouselocend repeatend ifend mouseDown</script>
</part>
<part>
<id>3</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>394</left>
<top>306</top>
<right>488</right>
<bottom>322</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>13</textHeight>
<name></name>
<script></script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>51</left>
<top>87</top>
<right>162</right>
<bottom>108</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Show Script</name>
<script>on mouseUpedit the script of this cardend mouseUp</script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>51</left>
<top>115</top>
<right>162</right>
<bottom>136</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Try Script</name>
<script>on mouseUppopnoteend mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>51</left>
<top>145</top>
<right>162</right>
<bottom>166</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Install in Home</name>
<script>on mouseUpput the script of this card into popnotescriptpush cardset the lockmessages to trueset the lockscreen to truego homeget the script of this stack -- the home stackput return & popnotescript after itset the script of this stack to itpop cardend mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>6</id>
<text>PopNote</text>
</content>
<content>
<layer>background</layer>
<id>18</id>
<text>PopNote is a utility that automates puting a small card field on the current card at the location you select with the mouse. The field will shrink down to a small locked field when it is closed (i.e. when you hit the enter-key or click outside it [OR WHEN AN “ON IDLE” HANDLER UPDATES A TIME FIELD, ETC.]) You can reopen the field for reading simply by clicking on it – click again to shrink it back. To edit the field, click on it with the option key down. To move the field, drag it with the command key de-pressed. This will work whether the field is “open” or “closed”. To create a popNote, simply type "Popnote" into the message box and hit return. Remember to put this script into your home stack, so you can add popnotes to any card.</text>
</content>
<content>
<layer>card</layer>
<id>1</id>
<text>• This is a popnote. Create another by entering “Popnote” in the message box. Try dragging it with the command key held down, or unlocking it with an option-click.</text>
<script>on mouseUp-- do nothingend mouseUp</script>
</part>
<part>
<id>4</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>28</left>
<top>39</top>
<right>109</right>
<bottom>57</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>visfld</name>
<script></script>
</part>
<part>
<id>5</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>59</left>
<top>111</top>
<right>222</right>
<bottom>132</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>thisFolder</name>
<script></script>
</part>
<part>
<id>6</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>250</left>
<top>73</top>
<right>460</right>
<bottom>272</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>thisFolder</name>
<script></script>
</part>
<part>
<id>7</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>250</left>
<top>73</top>
<right>460</right>
<bottom>272</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>filespec</name>
<script></script>
</part>
<part>
<id>8</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>59</left>
<top>136</top>
<right>222</right>
<bottom>157</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>fileSpec</name>
<script></script>
</part>
<part>
<id>9</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>59</left>
<top>161</top>
<right>222</right>
<bottom>182</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>folderName</name>
<script></script>
</part>
<part>
<id>10</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>59</left>
<top>185</top>
<right>222</right>
<bottom>206</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>FileList</name>
<script>on mouseUpif the hilite of cd btn "Try It" thenshow cd fld "List"put FileList(thisFolder(),"",false,true) into cd fld "List"end ifpass mouseUpend mouseUp</script>
</part>
<part>
<id>11</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>250</left>
<top>73</top>
<right>460</right>
<bottom>272</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>FolderName</name>
<script></script>
</part>
<part>
<id>12</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>250</left>
<top>73</top>
<right>460</right>
<bottom>272</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>FileList</name>
<script></script>
</part>
<part>
<id>13</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>31</left>
<top>75</top>
<right>482</right>
<bottom>255</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>List</name>
<script>on mouseUphide meend mouseUp</script>
</part>
<part>
<id>15</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>250</left>
<top>73</top>
<right>460</right>
<bottom>272</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>peek</name>
<script></script>
</part>
<part>
<id>17</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>394</left>
<top>306</top>
<right>488</right>
<bottom>322</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>13</textHeight>
<name></name>
<script></script>
</part>
<part>
<id>18</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>57</left>
<top>235</top>
<right>222</right>
<bottom>258</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Compact Stacks</name>
<script>on mouseUpput fileName("STAK") into theStacksif theStacks is empty then exit mouseUPAnswer "Compact stacks in…" with "Just this!" or "Folder" or "SubFolders"if it is "Folder" thenput FileList (folderName (theStacks),"STAK",true,false) into theStackselse if it is "SubFolders" thenput FileList (folderName (theStacks),"STAK",true,true) into theStacksend ifput the number of lines in theStacksset the lockmessages to trueset the lockscreen to trueset the lockrecent to truepush cardput 0 into totalRecoveredrepeat with s = 1 to the number of lines in theStacksgo stack line s of theStacksget the freesize of this stackadd it to totalrecovered-- doMenu "Compact Stack"if the mouseclick then exit repeatend repeatpop cardput totalRecovered && "bytes recovered."end mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>6</id>
<text>Utility Functions</text>
</content>
<content>
<layer>background</layer>
<id>18</id>
<text>This card’s script contains various useful utility scripts. I keep them all in my Home Stack.</text>
</content>
<content>
<layer>card</layer>
<id>2</id>
<text>extractFname is a function which returns a file name when given a complete pathname.example:put extractFName(FileName())</text>
</content>
<content>
<layer>card</layer>
<id>6</id>
<text>function thisFolder returns the folder that contains the current stack. It relies on the functions fileSpec and folderName. It takes no parameters.example:put thisFolder()</text>
</content>
<content>
<layer>card</layer>
<id>7</id>
<text>The FileSpec function returns a stack’s name when passed its long name, i.e. it strips the word “stack ” from the beginning and the quotation marks from the ends of the long name of the stack.example:put fileSpec(the long name of this stack)</text>
</content>
<content>
<layer>card</layer>
<id>11</id>
<text>The folderName function returns the name of the folder that a given file is in. You pass it the file’s complete pathname.example:put folderName(FileName())</text>
</content>
<content>
<layer>card</layer>
<id>12</id>
<text>The FileList function returns a list of files in a given folder, and optionally in its subfolders too. It can filter for a specific TYPE and can return fullnames (pathnames) or just filenames.Its parameters are: startFolder = a foldername TYPE = fileTYPE fullnames = boolean SubFolders = booleanexample:put FileList(thisFolder(),"",false,true) into cd fld "List" </text>
</content>
<content>
<layer>card</layer>
<id>13</id>
<text>backup disksCAI CoordinatorDisk CheckerDisk/File RecoveryDiskettesHC for CAIHomeHyperMailmac-digest-stackResAdderScript Manager</text>
</content>
<content>
<layer>card</layer>
<id>15</id>
<text>peek toggles a simple handler that puts the short name of buttons and fields that the mouse enters into the message box. It’s handy when you have lots of these objects on a card, and you want to quickly find on.Examplepeek</text>
<script>on mouseUpshow cd fld "Auto Doc Scripts"show cd btn "Cancel"end mouseUp</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>46</left>
<top>133</top>
<right>200</right>
<bottom>156</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Install the Scripts</name>
<script>on mouseUpshow btn 3show btn 4show btn 5set the scroll of cd fld 1 to 0show cd fld 1end mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <false /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>89</left>
<top>275</top>
<right>166</right>
<bottom>295</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Cancel</name>
<script>on mouseUphide cd fld 1hide cd fld 2hide btn 3hide btn 4hide btn 5end mouseUp</script>
</part>
<part>
<id>7</id>
<type>button</type>
<visible> <false /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>181</left>
<top>275</top>
<right>258</right>
<bottom>295</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Append</name>
<script>on mouseUpput "Stop!" into Titleput "Some knowledge of HyperTalk is necessary for this procedure!" into messget PopAlert (3,1414,Title,mess)if it is 2 then exit mouseUpset the lockmessages to trueput the userlevel into oldlevelset the userlevel to 5push cardput cd fld "Auto Doc Scripts" into AutoDocScriptdelete line 1 to 74 of AutoDocScript -- the original handlersgo cd "User Preferences"doMenu "Copy Card"go HomeAnswer "Append now or save a copy first?" with "Cancel" or "Append" or¬"Save A Copy"if it is "Save Copy" then doMenu "Save A Copy..."if it is "Append" then-- replace User Prefs cd with my new one.go cd "User Preferences" of stack "Home"set the cantdelete of this cd to falsedoMenu "Delete Card"go prevdoMenu "Paste Card"-- append the autodoc scripts to the original Home stack scriptget the script of this stackput return & AutoDocScript after itset the script of this stack to it-- open up the script editor for manual mergingAnswer "Merge duplicate handlers."edit the script of this stackend ifpop cardgethomeinfo -- get new settings from new preferences cardset the userlevel to oldlevelend mouseUp</script>
</part>
<part>
<id>8</id>
<type>button</type>
<visible> <false /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>273</left>
<top>275</top>
<right>350</right>
<bottom>295</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Replace</name>
<script>on mouseUpput "Stop!" into Titleput "You are about to completely replace your Home stack script!" into messget PopAlert (3,1414,Title,mess)if it is 2 then exit mouseUpset the lockmessages to trueset the lockscreen to trueput the userlevel into oldlevelset the userlevel to 5push cardput cd fld "Auto Doc Scripts" into AutoDocScriptgo cd "User Preferences"doMenu "Copy Card"go homeAnswer "Install now or save a copy?" with "Cancel" or "Install" or¬"Save A Copy"if it is "Save Copy" then doMenu "Save A Copy..."if it is "Install" then-- replace old Preference card with the new onego cd "User Preferences" of stack "Home"set the cantdelete of this cd to falsedoMenu "Delete Card"go prevdoMenu "Paste Card"getHomeInfo -- get the new User Preferences Settings-- replace original handlers with new onesset the script of this stack to AutoDocScriptAnswer "AutoDoc handlers have been installed."end ifpop cardset the userlevel to oldlevelend mouseUp</script>
<text>AutoDoc is a series of handlers which when installed in the home stack, automatically document changes you make to scripts in any stack you wish. Autodoc works in stacks whose card 1 contains a card field called "modifications". Whenever the userlevel is 5. Use the "Install Mods Field" button to add the field to existing stacks. Once the handlers are installed in your Home stack, you will be given the opportunity to add the field to any new stack you create. The "Install Mods Field" button can also remove the field... copy it to your Home stack.</text>
</content>
<content>
<layer>card</layer>
<id>5</id>
<text> Because the handlers making up the AutoDoc system must reside in your Home stack script, installation might be a little tricky. First, if you are using the standard, unadulterated Apple Home Stack feel free to choose the "Replace" option. If you have added some handlers of your own, or modified some of the handlers that came with the original Home stack, then choose "Append". This will put a copy of the appropriate handlers AFTER all existing handlers in your Home Stack Script. The Script editor will then open and you should merge handlers that may appear more than once. The following handlers are likely to need merging after you "Append": on OpenStack on CloseStack on OpenBackground on CloseBackground on OpenCard on CloseCard on GetHomeInfo on StartUp on ResumeHopefully I will work out a totally automated installation procedure for these handlers, but for now, this is all I've had time to do.Good Luck, and remember to WORK ON A COPY OF YOUR HOME STACK.</text>
<script>on getHomeInfo -- Merge with original scriptglobal stacks,applications,documents,userNameglobal override,autocomp,compLimit -- new globalsset lockScreen to trueset lockMessages to truepush this cdgo to cd "User Preferences" of stack "Home"put cd fld "User Name" into userNameset userLevel to cd fld "User Level"set powerKeys to the hilite of btn "Power Keys"set blindTyping to the hilite of btn "Blind Typing"put the hilite of btn "autocomp" into autocomp -- newput the hilite of btn "No Autodoc" into override -- newput cd fld "Compaction Limit" into compLimit -- newput fld "paths" of cd "stacks" into stacksput fld "paths" of cd "applications" into applicationsput fld "paths" of cd "documents" into documentspop cdend getHomeInfoon closeCardhide cd fld 2hide cd fld 1hide btn 3hide btn 4hide btn 5pass closeCardend closeCard</script>
</card>
card_6714.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<script>on mouseUpshow cd fld "about"wait until the mouse is downhide cd fld "about"end mouseUp</script>
</part>
<part>
<id>12</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>111</left>
<top>67</top>
<right>388</right>
<bottom>241</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name>about</name>
<script></script>
</part>
<part>
<id>13</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>313</left>
<top>303</top>
<right>384</right>
<bottom>325</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Clear</name>
<script>on mouseUpput empty into cd fld id 5put empty into fld id 6end mouseUp</script>
</part>
<part>
<id>14</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>394</left>
<top>306</top>
<right>488</right>
<bottom>322</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>13</textHeight>
<name></name>
<script></script>
</part>
<content>
<layer>card</layer>
<id>12</id>
<text>This card allows you to peek at the contents of a text file. This is useful when you are looking for a file to import, or wondering what a certain file(s) is. The delete button will delete the file you are currently peeking. The ImageWriter icon button will print the file to the selected printer. The document icon button will save the field to a new text file.</text>
<script>on mouseUpset the visible of cd fld "About" to not the visible of cd fld "About"set the visible of cd fld "CopyRight" to the visible of cd fld "About"end mouseUp</script>
<text>This stack uses the following XCMDs and XFCNs:DeleteAFile - Dewi WilliamsDeleteFile - David CongerFieldToFile - Kevin CalhounFileName - Steve MallerFileToField - Kevin CalhounFiles - Guy de PicciottoPrettyPrintField - Mark ScherflingPopAlert - Eduardo MendezTextstream - Kevin Calhoun</text>
</content>
<content>
<layer>card</layer>
<id>11</id>
<text>Version 1.2 of stack "Script Manager" as of 6/12/90 at 1:47 PMcard button "Get File" of card "Simple Editor" modified by Peter Jörgensen on Tuesday, December 18, 1990 at 10:20 AMcard button "Output To:" of card "dePunch" modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:31 AMcard "dePunch" modified by Peter Jörgensen on Wednesday, December 19, 1990 at 11:38 AMcard "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 8:21 AMcard button "Stop It!" of card "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 8:52 AMcard button "Stop It!" of card "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 8:53 AMcard "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 9:15 AMcard "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 9:38 AMcard "tabs to commas" modified by Peter Jörgensen on Monday, March 18, 1991 at 10:10 AMcard "dePunch" modified by Peter Jörgensen on Friday, May 17, 1991 at 11:53 AMcard "dePunch" modified by Peter Jörgensen on Friday, May 17, 1991 at 2:47 PMcard "dePunch" modified by Peter Jörgensen on Friday, May 17, 1991 at 3:34 PM</text>
</content>
<name></name>
<script>on mouseUpif the name of the target contains "button" thengo cd the short name of the targetend ifpass mouseUpend mouseUpon closeCardhide cd fld "copyright"pass closecardend closecard</script>